Package com.cisco.pt.ipc.sim.impl
Class EmailUserImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.EmailUserImpl
Information provided by the PKI file:
\class EmailUser
\brief EmailUser holds and manipulates the email user.
\example network().getDevice("PC0").getProcess("EmailClient").getEmailUser()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionEmailUserImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:Information provided by the PKI file:getName()Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:getUser()Information provided by the PKI file:voidInformation provided by the PKI file:voidInformation provided by the PKI file:voidsetPassword(String password) Information provided by the PKI file:voidsetPop3Server(String server) Information provided by the PKI file:voidsetSmtpServer(String server) Information provided by the PKI file:voidInformation provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
EmailUserImpl
public EmailUserImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getUser
Information provided by the PKI file:
\brief Returns the username of the email user. \return string, the username of the email user. -
getName
Information provided by the PKI file:
\brief Returns the name of the email user. \return string, the name of the email user. -
setUser
Information provided by the PKI file:
\brief Sets the username for the email user. \param user, the username for the email user. -
setName
Information provided by the PKI file:
\brief Sets the name for the email user. \param name, the name for the email user. -
getMailId
Information provided by the PKI file:
\brief Returns the email address of the email user. \return string, the email address of the email user. -
getPassword
Information provided by the PKI file:
\brief Returns the password of the email user. \return string, the password of the email user.- Specified by:
getPasswordin interfaceEmailUser- Returns:
- String Returns a String
-
setMailId
Information provided by the PKI file:
\brief Sets the email address for the email user. \param mailid, the email address for the email user. -
setPassword
Information provided by the PKI file:
\brief Sets the password for the email user. \param password, the password for the email user.- Specified by:
setPasswordin interfaceEmailUser- Parameters:
password- Takes in a parameter of password
-
getSmtpServer
Information provided by the PKI file:
\brief Returns the SMTP server of the email user. \return string, the SMTP server of the email user.- Specified by:
getSmtpServerin interfaceEmailUser- Returns:
- String Returns a String
-
getPop3Server
Information provided by the PKI file:
\brief Returns the POP3 server of the email user. \return string, the POP3 server of the email user.- Specified by:
getPop3Serverin interfaceEmailUser- Returns:
- String Returns a String
-
setSmtpServer
Information provided by the PKI file:
\brief Sets the SMTP server for the email user. \param server, the SMTP server for the email user.- Specified by:
setSmtpServerin interfaceEmailUser- Parameters:
server- Takes in a parameter of server
-
setPop3Server
Information provided by the PKI file:
\brief Sets the POP3 server for the email user. \param server, the SMTP server for the email user.- Specified by:
setPop3Serverin interfaceEmailUser- Parameters:
server- Takes in a parameter of server
-
getMailBox
Information provided by the PKI file:
\brief Returns the mailbox of the email user. \return string, the mailbox of the email user. Through the object, emails can be added, accessed, removed.- Specified by:
getMailBoxin interfaceEmailUser- Returns:
- MailBox Returns a MailBox
-